﻿<Window x:Class="Demo.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:toolkit="clr-namespace:Microsoft.Windows.Controls;assembly=WPFToolkit"
        xmlns:themes="clr-namespace:DataGridThemes;assembly=DataGridThemes"
        xmlns:data="clr-namespace:Demo.Data"
        Title="MainWindow" Height="350" Width="525">    
    <Window.Resources>
        <data:IndeedList x:Key="list" />
    </Window.Resources>
    <StackPanel>

        <toolkit:DataGrid ItemsSource="{StaticResource list}"
                          AutoGenerateColumns="True"
                          />
        
    </StackPanel>
</Window>
